<ul style="margin:0px;">
<?php          		
	if($this->recomments) 
		foreach($this->recomments as $recomment):
		//print($this->recomments);die;
		    
			//print_r($recomment); echo "###################";
			$enterpriseid = $recomment->enterprise_id;
			$relationid = $recomment->relationid;
			$conn = Tomato_Db_Connection::factory()->getMasterConnection();
			$enterpriseDao = Tomato_Model_Dao_Factory::getInstance()->setModule('enterprise')->getEnterpriseDao();
			$enterpriseDao->setDbConnection($conn);
			$result = $enterpriseDao->getById($relationid);
			print_r($result);
?>
<div>
	<?php
		/**
		* Check image exist directory
		**//*
		$file = $this->APP_STATIC_SERVER.'/images/logos/'.@$result->id.'.jpg';
		$path = str_replace($this->APP_STATIC_SERVER,getcwd(),$file);
		if(!is_file($path)){
			$file = $this->APP_STATIC_SERVER.'/images/logos/no-logo.jpg';
		}*/
	?>
</div>
<?php //foreach($recomment):?>
<li style="padding-left:0px;margin-left:0px;">
	<h5 style="color:red;"><?php echo $result->company_name_vn."<br>"; ?></h5>
	<img width="40" src="<?php echo $file;?>"/>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $recomment->recomment;?>
</li>
<?php endforeach;?>
</ul>